<div class="store users container">
	
	<h1><?php echo __d('admin', 'Users'); ?></h1>
	
	<h2>
		<?php echo $this->Html->link(__d('admin', 'Create'), array('action' => 'create'), array('class' => 'btn btn-primary')); ?>
	</h2>
	
	<?php if( $users ): ?>
	<table class="table">
		<tr>
			<th>ID</th>
			<th>Username</th>
			<th>Name</th>
		</tr>
		<?php foreach($users as $user): ?>
		<tr>
			<td><?php echo $user['User']['id']; ?></td>
			<td><?php echo h($user['User']['username']); ?></td>
			<td><?php echo $this->Html->link($user['User']['name'], array('action' => 'view', $user['User']['id'])); ?></td>
		</tr>
		<?php endforeach; ?>
	</table>
	<?php else: ?>
	<div class="alert alert-info"><?php echo __d('admin', 'Nothing to show here!'); ?></div>
	<?php endif; ?>
	
</div>